package cinema.v1_1.model;

public class User {
    private String id;
    private String name;
    private String pwdMd5;
    private String type;   // ADMIN / MANAGER / FRONT
    private String phone;
    private String regTime;

    public User(String id, String name, String pwdMd5, String type, String phone, String regTime) {
        this.id = id;
        this.name = name;
        this.pwdMd5 = pwdMd5;
        this.type = type;
        this.phone = phone;
        this.regTime = regTime;
    }

    public String getId()       { return id; }
    public String getName()     { return name; }
    public String getPwdMd5()   { return pwdMd5; }
    public String getType()     { return type; }
    public String getPhone()    { return phone; }
    public String getRegTime()  { return regTime; }

    public void setPwdMd5(String pwdMd5) { this.pwdMd5 = pwdMd5; }
    public void setType(String type)     { this.type = type; }
    public void setPhone(String phone)   { this.phone = phone; }
}